package com.ja.openchat.ui.chat.audio.recording;

/**
 * Essential APIs for working with MsRecorder.
 *
 * @author maple
 * @time 2018/4/10.
 */
public class MsRecorder {

    private MsRecorder() {
    }

    public static Recorder pcm(AudioRecordConfig config, PullTransport pullTransport) {
        return new PcmRecorder(config, pullTransport);
    }

    public static WavRecorder wav(AudioRecordConfig config, PullTransport pullTransport) {
        return new WavRecorder(config, pullTransport);
    }
}
